find the slope between two points